/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package ua.i.kotionokyurievna.jewelryweb.facade;

import java.io.Serializable;
import javax.ejb.EJB;
import javax.ejb.Stateless;
import ua.i.kotionokyurievna.jewelryweb.entities.User;
import ua.i.kotionokyurievna.jewelryweb.dao.UserDAO;

/**
 *
 * @author Kateryna_Reznik
 */
@Stateless
public class UserFacadeImpl implements UserFacade, Serializable{
    @EJB
    private UserDAO userDAO;
 
    @Override
    public User findUserByLogin(String login) {
        return userDAO.findUserByLogin(login);
    }
}
